import request from '@/utils/request'

// 所有棋牌室列表
export function listChessAll() {
  return request({
    url: '/system/chess-room/allList',
    method: 'get'
  })
}

// 删除公告
export function delChessRoom(data) {
  return request({
    url: 'system/chess-room/delete',
    method: 'post',
	data:data
  })
}

// 新增棋牌室
export function insertChessRoom(data) {
  return request({
    url: '/system/chess-room/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑棋牌室
export function editChessRoom(data) {
  return request({
    url: '/system/chess-room/edit',
    method: 'post',
	data:data
  }) 
}

// 棋牌室列表
export function chessRoomList(data) {
  return request({
    url: '/system/chess-room/list',
    method: 'get',
	data:data
  }) 
}

// 棋牌室详情
export function detailChessRoom(data) {
  return request({
    url: '/system/chess-room/detail',
    method: 'post',
	data:data
  }) 
}
